/**
 * 手势引导样式
 * Story 5: Task 10
 */

.gesture-onboarding {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  min-height: 300px;
}

.gesture-tip {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gesture-icon {
  font-size: 72px;
  margin-bottom: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.gesture-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}

.gesture-description {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  max-width: 300px;
}

.gesture-progress {
  display: flex;
  gap: 8px;
  margin: 24px 0;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s ease;
}

.progress-dot.active {
  width: 24px;
  border-radius: 4px;
  background: #1890ff;
}

.progress-dot.completed {
  background: #52c41a;
}

.gesture-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 0 20px;
  margin-top: 20px;
}

.btn-skip,
.btn-next {
  flex: 1;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-skip {
  background: #f5f5f5;
  color: #666;
}

.btn-skip:hover {
  background: #e8e8e8;
}

.btn-skip:active {
  transform: scale(0.98);
}

.btn-next {
  background: #1890ff;
  color: white;
}

.btn-next:hover {
  background: #40a9ff;
}

.btn-next:active {
  transform: scale(0.98);
}

/* 暗黑模式 */
@media (prefers-color-scheme: dark) {
  .gesture-title {
    color: #fff;
  }

  .gesture-description {
    color: #aaa;
  }

  .btn-skip {
    background: #333;
    color: #aaa;
  }

  .btn-skip:hover {
    background: #444;
  }
}

/* 响应式 */
@media (max-width: 480px) {
  .gesture-icon {
    font-size: 60px;
  }

  .gesture-title {
    font-size: 20px;
  }

  .gesture-description {
    font-size: 14px;
  }

  .btn-skip,
  .btn-next {
    font-size: 14px;
    padding: 12px 20px;
  }
}
